package com.shoppingCart.dataobject;

import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;
import java.util.Date;
/**
 * create By lihao
 *
 */
@Data
@Entity
public class Cart {

    @Id
    private String cartId;
    /*
    *  经度
    * */
    private Float latitude;
    /*
    * 纬度
    * */
    private Float longitude;

    /*
    * 是否在用
    * */
    private Integer isUse;

    /*
    * 推车种类
    * */
    private Integer type;

    /*
    * 推车密码
    * */
    private String cartCode;

    /**
     * 所属停车桩id
     * */
    private String parkingId;

    /**
     * 创建时间.
     */
    private Date createTime;

    /**
     * 更新时间.
     */
    private Date updateTime;

}
